pre.sphere, pre.scale: Pre-sphering and pre-scaling
Description
Pre-sphered or pre-scaled version of data.
Usage
pre.sphere(x)
pre.scale(x)
Arguments
x
matrix of data values
Value
Pre-sphered or pre-scaled version of data. These
pre-transformations are required for implementing the plug-in
Hpi selectors and the smoothed cross validation
Hscv selectors.
Details
For pre-scaling, the data values are pre-multiplied by
$\mathbf{S}^{-1/2}$ and for pre-scaling, by
$(\mathbf{S}_D)^{-1/2}$ where
$\mathbf{S}$ is the sample variance and $\mathbf{S}_D$
is $\mathrm{diag} \, (S_1^2, S_2^2)$ and
$S_1^2, S_2^2$ are the marginal sample variances.
If $\mathbf{H}^*$ is the bandwidth matrix for the
pre-transformed data and $\mathbf{H}$ is the bandwidth matrix for the
original data, then
$\mathbf{H}=\mathbf{S}^{1/2} \mathbf{H}^* \mathbf{S}^{1/2}$ or $\mathbf{H} = \mathbf{S}_D^{1/2} \mathbf{H}^*\mathbf{S}_D^{1/2}$ as appropriate.
References
Wand, M.P. & Jones, M.C. (1994) Multivariate plugin bandwidth
selection. Computational Statistics 9, 97-116.
Duong, T. & Hazelton, M.L. (2003) Plug-in bandwidth matrices for
bivariate kernel density estimation. Journal of Nonparametric
Statistics 15, 17-30.